#ifndef __key_driver_H_
#define __key_driver_H_


typedef enum
{
    KEY0=0,
    KEY1,
    KEY2,
    KEY3,
    KEY4,
    KEY5,
    KEY6,
    KEY_MAX
}E_KEY;

typedef enum
{
    KEY_STATE_DISABLE = 0,
    KEY_STATE_ENABLE=!KEY_STATE_DISABLE
}E_KEY_STATE;

void key_driver_gpio_init(E_KEY index);
void key_driver_gpio_uninit(E_KEY index);
E_KEY_STATE key_driver_get_pin_state(E_KEY index);


#endif
